package com.beordie.utils;

import com.github.pagehelper.PageInterceptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Description
 * @Date 2021/8/8 16:41
 * @Created 30500
 */
@Configuration
@MapperScan("com.beordie.dao")
public class MybatisPlusConfig {
    @Bean
    public PageInterceptor pageInterceptor() {
        return new PageInterceptor();
    }
}
